-- GENERATED SPELL FOR [Crusader Lamoof] --


function spell0_28142(pUnit, Event) --@Bleeding Out,Self--
pUnit:FullCastSpellOnTarget(50681,pUnit)
pUnit:RegisterEvent('Sorts_28142', 641, 1)
end

function Sorts_28142(pUnit, Event)
local choix_sorts_28142 = math.random(0, 0)
if choix_sorts_28142 == 0 then
pUnit:RegisterEvent('spell0_28142', 1, 1)
end
end

function mob28142_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28142', math.random(1500, 3000), 1)
end

function mob28142_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28142_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28142_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28142, 1, 'mob28142_Action')
RegisterUnitEvent(28142, 2, 'mob28142_Leave')
RegisterUnitEvent(28142, 3, 'mob28142_Kill')
RegisterUnitEvent(28142, 4, 'mob28142_Die')
